<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <script src="../vue.js"></script>
  </head>

  <body>
    <div id="app">
      {{value}}
      <input
        type="text"
        :value="value"
        v-on:input="value=$event.target.value"
      />
    </div>
    <script>
      const vm = new Vue({
        el: "#app",
        data() {
          return {
            value: "1",
          };
        },
      });
    </script>
  </body>
</html>
